From 64c1adfcf8057af1b46e9da39526688e51fe6c09 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Sat, 5 Feb 2005 15:42:48 +0000 Subject: [PATCH] bitkeeper revision 1.1159.212.99 (4204e978S7U_CKee_ItjbGQ8Ezbw3A) Another scheduler fix for prev. manual merge. Signed-off-by: keir.fraser@cl.cam.ac.uk --- xen/common/schedule.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/common/schedule.c b/xen/common/schedule.c index e0fafa6b9c..f5c6daa77a 100644 --- a/xen/common/schedule.c +++ b/xen/common/schedule.c @@ -422,11 +422,11 @@ void __enter_scheduler(void) perfc_incrc(sched_ctx); - if ( !is_idle_task(current->domain) ) + if ( !is_idle_task(prev->domain) ) { - LOCK_BIGLOCK(current->domain); + LOCK_BIGLOCK(prev->domain); cleanup_writable_pagetable(prev->domain); - UNLOCK_BIGLOCK(current->domain); + UNLOCK_BIGLOCK(prev->domain); } #if defined(WAKE_HISTO) -- 2.30.2